package com.himalayan.bear.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author zjk
 * @since 2019-04-25
 */
@TableName("yp_files")
public class Files implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String fileName;

    private String filePath;

    private Integer fileSize;

    private LocalDateTime overdueDate;

    private String fileCode;

    private String createName;

    private LocalDateTime createDate;

    private Integer deleteFlag;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public Integer getFileSize() {
        return fileSize;
    }

    public void setFileSize(Integer fileSize) {
        this.fileSize = fileSize;
    }

    public LocalDateTime getOverdueDate() {
        return overdueDate;
    }

    public void setOverdueDate(LocalDateTime overdueDate) {
        this.overdueDate = overdueDate;
    }

    public String getFileCode() {
        return fileCode;
    }

    public void setFileCode(String fileCode) {
        this.fileCode = fileCode;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public LocalDateTime getCreateDate() {
        return createDate;
    }

    public void setCreateDate(LocalDateTime createDate) {
        this.createDate = createDate;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    @Override
    public String toString() {
        return "Files{" +
                "id=" + id +
                ", fileName=" + fileName +
                ", fileSize=" + fileSize +
                ", overdueDate=" + overdueDate +
                ", fileCode=" + fileCode +
                ", createName=" + createName +
                ", createDate=" + createDate +
                ", deleteFlag=" + deleteFlag +
                "}";
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }
}
